<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			function myFunction() {
			    var carName = "Volvo";
			    // 函数内可调用 carName 变量
			}
			console.log(carName)
			var carName=8
		</script>
	</body>
</html>
